<div class="simple">
<?php echo CHtml::activeLabelEx($model,'cname'); ?>
<?php echo CHtml::activeTextField($model,'cname',array('size'=>50,'maxlength'=>250)); ?>

</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'address'); ?>
<?php echo CHtml::activeTextArea($model,'address',array('rows'=>3, 'cols'=>39)); ?>
</div>
<div class="simple">
<div>
<?php echo CHtml::activeLabelEx($model,'postal'); ?>
<?php echo CHtml::activeTextField($model,'postal',array('size'=>14,'maxlength'=>20)); ?>
</div>
<div class="small">
<?php echo CHtml::activeLabelEx($model,'country_code'); ?>
<?php echo CHtml::activeDropDownList($model, 'country_code', CHtml::listData(countries::model()->findAll(), 'ccode', 'country'),array('options'=>array('SG'=>array('selected'=>'selected')))); ?>
</div>
</div>
<div class="simple">
<div>
<?php echo CHtml::activeLabelEx($model,'tele'); ?>
<?php echo CHtml::activeTextField($model,'tele',array('size'=>14,'maxlength'=>20)); ?>
</div>
<div class="small">
<?php echo CHtml::activeLabelEx($model,'fax'); ?>
<?php echo CHtml::activeTextField($model,'fax',array('size'=>14,'maxlength'=>20)); ?>
</div>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'pic'); ?>
<?php echo CHtml::activeTextField($model,'pic',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'email'); ?>
<?php echo CHtml::activeTextField($model,'email',array('size'=>50,'maxlength'=>254)); ?>
</div>

